<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>查看题目</title>
    <link href="/static/css/bootstrap.min.css" rel="stylesheet" type="text/css">
    <link href="/static/css/font-awesome.min.css" rel="stylesheet">
    <link href="/static/css/animate.css" rel="stylesheet" type="text/css">
    <link href="/static/css/jdGrid/ui.jqgrid.css" rel="stylesheet" type="text/css"/>
    <link href="/static/css/style.css" rel="stylesheet">
    <link href="/static/css/metroStyle.css" rel="stylesheet" type="text/css"/>
    <script type="text/javascript">
        var ctx = "";
        var __cityId = "";
    </script>
</head>
<body class="gray-bg">
<div class="wrapper">
    <div class="row">
        <div class="ibox">
            <div class="ibox-content">
                <form  class="form-horizontal" id="defaultForm" method="post" onsubmit="return false;">
                    <fieldset disabled>
                        <div class="form-group">
                            <label class="col-sm-2 control-label"><font color="red">*</font>章节编号</label>
                            <div class="col-sm-10">
                                <input id="id" name="id" class="required form-control" type="text" value="${customQuestion.id!''}" maxlength="50" >
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label"><font color="red">*</font>题目序号</label>
                            <div class="col-sm-10">
                                <input id="serialNumber" name="serialNumber" class="required form-control" type="text" value="${customQuestion.serialNumber!''}" maxlength="50" >
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label"><font color="red">*</font>图片</label>
                            <div class="col-sm-10">
                                <#if imgList ??>
                                    <span style="width: 300px;height: 90px">
                                <#list imgList as img>
                                    <img src="${img}" style="width: 110px;height: 90px">
                                </#list>
                                </span>
                                </#if>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label"><font color="red">*</font>答案</label>
                            <div class="col-sm-10">
                                <input id="answer" name="answer" class="required form-control" type="text" value="${customQuestion.answer!''}" maxlength="50" >
                            </div>
                        </div>


                        <div class="form-group">
                            <label class="col-sm-2 control-label"><font color="red">*</font>讲解人</label>
                            <div class="col-sm-10"><input id="videoExplainer"  name="videoExplainer" class="form-control " type="text" value="${customQuestion.videoExplainer!''}" maxlength="50" minlength="3"></div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-2 control-label"><font color="red">*</font>章节名称</label>
                            <div class="col-sm-10"><input id="chapterName"  name="chapterName" class="form-control " type="text" value="${customQuestion.chapterName!''}" maxlength="50" minlength="3"></div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-2 control-label"><font color="red">*</font>题目类型</label>
                            <#if customQuestion.questionType=='1'>
                                <div class="col-sm-10"><input id="questionType"  name="questionType" class="form-control " type="text" value="基础选择题" maxlength="50" minlength="3"></div>
                            </#if>
                            <#if customQuestion.questionType=='2'>
                                <div class="col-sm-10"><input id="questionType"  name="questionType" class="form-control " type="text" value="扩展选择题" maxlength="50" minlength="3"></div>
                            </#if>
                            <#if customQuestion.questionType=='3'>
                                <div class="col-sm-10"><input id="questionType"  name="questionType" class="form-control " type="text" value="基础必会题" maxlength="50" minlength="3"></div>
                            </#if>
                            <#if customQuestion.questionType=='4'>
                                <div class="col-sm-10"><input id="questionType"  name="questionType" class="form-control " type="text" value="扩展进阶题" maxlength="50" minlength="3"></div>
                            </#if>
                        </div>


                        <div class="form-group">
                            <label class="col-sm-2 control-label"><font color="red">*</font>排序</label>
                            <div class="col-sm-10">
                                <input id="sort" name="sort" type="text"
                                       class="form-control required " value="${customQuestion.sort!''}" maxlength="50" minlength="3">
                            </div>
                        </div>

                        <div class="form-group"><label class="col-sm-2 control-label">状态</label>
                            <div class="col-sm-10">
                                <input id="status" name="status" type="radio" <#if customQuestion.status=='N'>checked</#if>>无效
                                <input id="status" name="status" type="radio" <#if customQuestion.status=='Y'>checked</#if>>有效
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label"><font color="red">*</font>创建时间</label>
                            <div class="col-sm-10">
                                <input id="createdTime" name="createdTime" type="text"
                                       class="form-control required " value="${customQuestion.createdTime}" maxlength="50">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">描述</label>
                            <div class="col-sm-10">
                                <textarea id="remark" name="remark" maxlength="200" class="form-control" rows="3">${customQuestion.remark!''}</textarea>
                            </div>
                        </div>
                    </fieldset>
                </form>
            </div>
        </div>
    </div>
</div>
</body>
</html>